<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <script>
        var x;
        var y;
        for(x = 1;x <= 35;x ++){
            y = 35 - x;
            if(((x * 2)+(y * 4)) == 94){
                document.write("鸡"+ x +"只 兔子"+ y +"只");
                break;
            }
        }
    </script>
</body>
</html>